﻿


using StackExchange.Redis;

var connection = await ConnectionMultiplexer.ConnectAsync("81.69.10.164,password=jiandanmaokeji");
var sub = connection.GetSubscriber();

await sub.SubscribeAsync("deskChange", (channel, msg) =>
{
    Console.WriteLine($"收到消息：{channel}_{msg}");
});


Console.ReadKey();



